package com.moco.launcher.play;

import android.os.Parcel;
import android.os.Parcelable;

public class MusicItemInfo implements Parcelable {
	private String mAlbumId;
	private String mAlbumTitle;
	private String mArtist;
	private String mCompany;
	private String mkbps;
	private int mLength;
	private int mIsLike;
	private String mPicture;
	private String mPublicTime;
	private String mId;
	private String mTitle;
	private String mUrl;
	private String mDesc;
	private String mLyric;

	public MusicItemInfo(Parcel pl) {
		this.mAlbumId = pl.readString();
		this.mAlbumTitle = pl.readString();
		this.mArtist = pl.readString();
		this.mCompany = pl.readString();
		this.mkbps = pl.readString();
		this.mLength = pl.readInt();
		this.mIsLike = pl.readInt();
		this.mPicture = pl.readString();
		this.mPublicTime = pl.readString();
		this.mId = pl.readString();
		this.mTitle = pl.readString();
		this.mUrl = pl.readString();
		this.mDesc = pl.readString();
		this.mLyric = pl.readString();
	}

	public MusicItemInfo() {
		// TODO Auto-generated constructor stub
	}

	public void setAlbumId(String albumid) {
		this.mAlbumId = albumid;
	}

	public String getAlbumId() {
		return this.mAlbumId;
	}

	public void setAlbumTitle(String title) {
		this.mAlbumTitle = title;
	}

	public String getArtist() {
		return this.mArtist;
	}

	public void setArtist(String artist) {
		this.mArtist = artist;
	}

	public String getAlbumTitle() {
		return this.mAlbumTitle;
	}

	public void setLength(int len) {
		this.mLength = len;
	}

	public int getLength() {
		return mLength;
	}

	public void setIsLike(int islike) {
		this.mIsLike = islike;
	}

	public int getLike() {
		return mIsLike;
	}

	public void setPicture(String pic) {
		this.mPicture = pic;
	}

	public String getPicture() {
		return mPicture;
	}

	public void setPublicTime(String publictime) {
		this.mPublicTime = publictime;
	}

	public String getPublicTime() {
		return this.mPublicTime;
	}

	public void setId(String id) {
		this.mId = id;
	}

	public String getId() {
		return this.mId;
	}

	public void setTitle(String title) {
		this.mTitle = title;
	}

	public String getTitle() {
		return this.mTitle;
	}

	public void setUrl(String url) {
		this.mUrl = url;
	}

	public String getUrl() {
		return this.mUrl;
	}

	public void setCompany(String company) {
		this.mCompany = company;
	}

	public String getCompany() {
		return this.mCompany;
	}

	public void setKbs(String kbs) {
		this.mkbps = kbs;
	}

	public String getKbs() {
		return this.mkbps;
	}

	public void setDesc(String desc) {
		this.mDesc = desc;
	}

	public String getDesc() {
		return this.mDesc;
	}

	public void setLyric(String lyric) {
		this.mLyric = lyric;
	}

	public String getLyric() {
		return this.mLyric;
	}

	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO Auto-generated method stub
		dest.writeString(this.mAlbumId);
		dest.writeString(this.mAlbumTitle);
		dest.writeString(this.mArtist);
		dest.writeString(this.mCompany);
		dest.writeString(this.mkbps);
		dest.writeInt(this.mLength);
		dest.writeInt(this.mIsLike);
		dest.writeString(this.mPicture);
		dest.writeString(this.mPublicTime);
		dest.writeString(this.mId);
		dest.writeString(this.mTitle);
		dest.writeString(this.mUrl);
		dest.writeString(this.mDesc);
		dest.writeString(this.mLyric);
	}

	public static final Parcelable.Creator<MusicItemInfo> CREATOR = new Parcelable.Creator<MusicItemInfo>() {

		@Override
		public MusicItemInfo createFromParcel(Parcel source) {
			return new MusicItemInfo(source);
		}

		@Override
		public MusicItemInfo[] newArray(int size) {
			return new MusicItemInfo[size];
		}
	};
}
